package com.atguigu.service.eud_comment.feignclient;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @description:
 * @author: Administrator
 * @date: 2021-04-23 10:32
 */
@Component
@FeignClient(value = "service-umember",fallback = CommentFeignUcenterMemeberImpl.class)
public interface CommentFeignUcenterMemeber {


    @GetMapping("/edu_ucenter/ucentermember/getUserById/{id}")
    public R getUserById(@PathVariable(value = "id") String id);
}
